.login {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f5f9ff 25%,
    #e8f0fe 50%,
    #d4e5fc 75%,
    #c5dbf5 100%
  );
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  // 移除之前的所有背景图案
  &::before, &::after {
    display: none;
  }

  .login-header {
    display: flex;
    align-items: center;
    height: 70px;
    background: transparent;
    position: relative;
    z-index: 1;
    padding: 0 50px;
    margin-top: 20px;
    border-bottom: none;

    .logo-container {
      display: flex;
      align-items: center;
      
      img {
        width: 50px;
        height: 50px;
        margin-right: 20px;
        border-radius: 50%;
        padding: 5px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 
          0 4px 12px rgba(41, 128, 185, 0.15),
          0 0 0 1px rgba(41, 128, 185, 0.1);
        transition: all 0.3s ease;

        &:hover {
          transform: scale(1.05);
          box-shadow: 
            0 6px 16px rgba(41, 128, 185, 0.2),
            0 0 0 1px rgba(41, 128, 185, 0.15);
        }
      }

      h1 {
        font-size: 28px;
        color: #2c3e50;
        margin: 0;
        font-weight: 600;
        letter-spacing: 1px;
        background: linear-gradient(135deg, #2c3e50, #3498db);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      }
    }
  }

  .login-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;

    .login-box {
      width: 420px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 20px;
      box-shadow: 
        0 20px 40px rgba(41, 128, 185, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.05);
      padding: 40px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.8);
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 
          0 25px 50px rgba(41, 128, 185, 0.2),
          0 1px 3px rgba(0, 0, 0, 0.08);
      }

      h2 {
        font-size: 28px;
        text-align: center;
        font-weight: bold;
        color: #2c3e50;
        margin-bottom: 35px;
        position: relative;
        
        &::after {
          content: '';
          position: absolute;
          bottom: -10px;
          left: 50%;
          transform: translateX(-50%);
          width: 40px;
          height: 3px;
          background: linear-gradient(90deg, #3498db, #2980b9);
          border-radius: 3px;
        }
      }

      .login-form {
        .ant-form-item {
          margin-bottom: 24px;
        }

        .ant-input-affix-wrapper {
          height: 45px;
          border-radius: 10px;
          border: 1px solid rgba(52, 152, 219, 0.2);
          transition: all 0.3s ease;
          background: rgba(255, 255, 255, 0.8);
          
          .ant-input {
            font-size: 15px;
            background: transparent;
          }
          
          &:hover, &:focus {
            border-color: #3498db;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
          }
        }

        .login-form-button {
          width: 100%;
          height: 45px;
          font-size: 16px;
          margin-top: 10px;
          background: linear-gradient(135deg, #3498db, #2980b9);
          border: none;
          border-radius: 10px;
          box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
          transition: all 0.3s ease;

          &:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, #3498db, #2475a8);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
          }
        }

        .ant-checkbox-wrapper {
          color: #666;
        }
      }
    }
  }
}

